#pragma once

#include "../Common.h"
#include "../Chess/Field.h"
#include "../DirectX/Mesh.h"

namespace Game
{
  class FieldMesh : virtual public DirectX::Mesh, virtual public Chess::Field
  {
  public:
    FieldMesh(Mesh* selectedMesh, Mesh* reachableMesh);
    virtual ~FieldMesh();

    virtual RenderDesc* GetRenderData();
    virtual bool Visible();
    virtual AABBDesc* GetAABB();
  protected:
    Mesh* m_markers[2];
    
  };
}